package arch.chameleon.busi.sample.model;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class SampleInfo implements Serializable {

	private static final long serialVersionUID = 1669673547887327584L;

	private String id;
	
	private String specId;

	private String name;

	private String price;
	
	private int core;

	private String frequency;

	public SampleInfo(String id, String specId, String name, String price,
			int core, String frequency) {
		super();
		this.id = id;
		this.specId = specId;
		this.name = name;
		this.price = price;
		this.core = core;
		this.frequency = frequency;
	}

	public SampleInfo(){}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSpecId() {
		return specId;
	}

	public void setSpecId(String specId) {
		this.specId = specId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public int getCore() {
		return core;
	}

	public void setCore(int core) {
		this.core = core;
	}

	public String getFrequency() {
		return frequency;
	}

	public void setFrequency(String frequency) {
		this.frequency = frequency;
	}
	
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}
